#! /usr/bin/python
# coding: utf-8

from Tkinter import *

def onClick():
    print 'hello button'
    
root = Tk()

bt = Button(root, text = 'Button', command = onClick)
bt.pack()

root.mainloop()
